<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>queryResule</title>
    <link rel="icon" href="favicon.ico" type="image/x-icon">
    <link href="../static/css/reset.css" rel="stylesheet">
    <!-- Bootstrap3.3.5 CSS -->
    <link href="../static/css/bootstrap.min.css" rel="stylesheet">
    <link href="../static/css/queryResult.css" rel="stylesheet">
  </head>
  <body>
  <div class="container">
      <div class="queryResule">
          <h2>音乐版权查询结果</h2>
          {{if .History}}
            <div id="tableDiv">
                <table id="table" style="margin: 0 auto;">
                    <tr>
                        <td>歌曲名称</td>
                        <td>版权类型</td>
                        <td>歌曲编号</td>
                        <td>版权人</td>
                        <td>发布日期</td>
                        <td>使用场景</td>
                        <td>价格</td>
                        <td>改编权</td>
                    </tr>
                    {{range .Edu.Historys}}
                        <tr>
                            <td>{{.Education.Name}}</td>
                            <td>{{.Education.BirthDay}}</td>
                            <td>{{.Education.EntityID}}</td>
                            <td>{{.Education.SchoolName}}</td>
                            <td>{{.Education.EnrollDate}}</td>
                            <td>{{.Education.GraduationDate}}</td>
                            <td>{{.Education.Major}}</td>
                            <td>{{.Education.Level}}</td>
                        </tr>
                    {{end}}
                </table>
            </div>
          {{end}}
          <div class="top">
              <div class="left">
                  <p>
                      <span>歌曲名称：</span>
                      <span>{{.Edu.Name}}</span>
                  </p>
                  <p>
                      <span>地区：</span>
                      <span>{{.Edu.Place}}</span>
                  </p>
                  <p>
                      <span>作曲人：</span>
                      <span>{{.Edu.Nation}}</span>
                  </p>
                  <p>
                      <span>词：</span>
                      <span>{{.Edu.EnrollDate}}</span>
                  </p>
                  <p>
                      <span>音乐类型：</span>
                      <span>{{.Edu.SchoolName}}</span>
                  </p>
                  <p>
                      <span>购买演唱权：</span>
                      <span>{{.Edu.QuaType}}</span>
                  </p>
                  <p>
                      <span>购买播放权：</span>
                      <span>{{.Edu.Level}}</span>
                  </p>
                  <p>
                      <span>购买改词权：</span>
                      <span>{{.Edu.Graduation}}</span>
                  </p>
              </div>
              <div class="right">
                  <p>
                      <span>作词人：</span>
                      <span>{{.Edu.Gender}}</span>
                  </p>
                  <p>
                      <span>歌词：</span>
                      <span>{{.Edu.BirthDay}}</span>
                  </p>
                  <p>
                      <span>旋律：</span>
                      <span>{{.Edu.EntityID}}</span>
                  </p>
                  <p>
                      <span>版权所有人：</span>
                      <span>{{.Edu.GraduationDate}}</span>
                  </p>
                  <p>
                      <span>演唱权：</span>
                      <span>{{.Edu.Major}}</span>
                  </p>

                  <p>
                      <span>背景音乐使用权：</span>
                      <span>{{.Edu.Mode}}</span>
                  </p>
                  <p>
                      <span>购买直播、商演权：</span>
                      <span>{{.Edu.Length}}</span>
                  </p>
                  <p>
                      <span>演唱者：</span>
                      <span>{{.Edu.CertNo}}</span>
                  </p>
              </div>
              <div class="headImg">
                  <img src="{{.Edu.Photo}}" alt="">
              </div>
          </div>
          <p>
       
                  <a href="/modifyPage?certNo={{.Edu.CertNo}}&name={{.Edu.Name}}">购买相关作品</a>

              <a href="/index">返回首页</a>
          </p>
          <div class="bottom">
              <p><b>声明</b></p>
              <p>1、未经版权人同意不得使用。</p>
              <p>
                  2.请按购买的选项使用
                  不得超出选项。
              </p>
          </div>
      </div>
  </div>
  </body>
</html>
